package com.yxw.yxnet_cd_center.customer_service.dto;

import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 语音库新增DTO
 * @author liuxin
 * @date 2023.09.17
 */
@Data
@ApiModel(value="VoiceLibAddDTO", description="语音库新增DTO")
public class VoiceLibAddDTO extends BaseDTO {

    @NotBlank(message = "语音名称不能为空")
    @ApiModelProperty(value = "语音名称")
    private String voiceLibName;

    @NotBlank(message = "语音内容不能为空")
    @ApiModelProperty(value = "语音内容")
    private String voiceContent;

    @NotNull(message = "语音库状态不能为空")
    @ApiModelProperty(value = "语音库状态：0-禁用 1：启用")
    private Integer status;

    @NotBlank(message = "语音文件不能为空")
    @ApiModelProperty(value = "语音文件地址")
    private String voiceUrl;
}
